<!-- License -->
<div style="text-align: center;">
    <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/">
        <img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png" />
    </a>
    <br />
    This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/">
    Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License</a>.
</div>

<!-- Subtitle -->
<script>
    var header = document.getElementById("header");
    var h1 = header.getElementsByTagName("h1")[0];
    if (h1.innerHTML.includes("-")) {
        var titles = h1.innerHTML.split("-");
        var h2 = document.createElement("h2");
        header.insertBefore(h2, h1.nextSibling);
        h1.innerHTML = titles[0].trim();
        h2.innerHTML = titles[1].trim();
    }
</script>

<!-- JS switcher -->
<script src="https://darshandsoni.com/asciidoctor-skins/switcher.js" type="text/javascript"></script>
<script>
    var res = document.getElementById("switcher")
    res.innerHTML = '<!-- The JS switcher is under the MIT License, see https://github.com/darshandsoni/asciidoctor-skins. -->\n' +
                    '<table style="width: 100%;">\n' +
                        '<tr>\n' +
                            '<td style="width: 20%;">Theme:</td>\n' +
                            '<td style="width: 80%;">' + res.innerHTML + '</td>' +
                        '</tr>\n' +
                    '</table>'
</script>
